package com.jiandan.business.util.selfservice;

public final class SelfServiceConstants {
	public static final String DAO_NAMESPACE = "com.jiandan.business.repository.SelfServiceDao.";

	private static class BaseAttributes {
		public static final String MACHINE = "machine";
	}

	public static final class SessionAttributes extends BaseAttributes {
	}

	public static final class RequestAttributes extends BaseAttributes {
		public static final String LOGIN_ERROR = "login_error";
	}

	public static final class ResponseAttributes extends BaseAttributes {
		public static final String JSON_KEY_RESULT = "result";
		public static final String JSON_KEY_DATA = "data";
		public static final String JSON_RESULT_SUCCESS = "success";
		public static final String JSON_RESULT_ERROR = "error";
	}

	public static final class Messages {
		public static final String NO_MACHINE = "没有此编号的机具。";
		public static final String PASSWORD_ERROR = "密码错误。";
		public static final String LOGIN_ERROR = "登陆异常。";
	}
}
